package com.weasel.weixin.mp;

import com.weasel.weixin.mp.jetty.JettyServletLauncher;
import com.weasel.weixin.mp.servlet.WeiXinServerIpListServlet;

/**获取微信服务器ip列表测试,运行后请打开浏览器访问/ip_list
 * Created by Dylan on 2015/9/28.
 */
public class WeiXinServerIpListDemo {

    public  static void main(String [] agrs){

        JettyServletLauncher.listen(8080)
                            .addServletWithMapping(new WeiXinServerIpListServlet(),"/ip_list")
                            .launch();
    }
}
